package extend.animal;

public class Dog extends Pet {
    String type;

    @Override
    public void print() {
        super.print();
        System.out.println("type:" + type);
    }

    @Override
    public void test1() {

    }

    @Override
    public Child1 eat() {
        return new Child1();
    }
}
